import {INCREMENT} from "./mutations-types";

export default {
  [INCREMENT](state){
    state.counter++
  },
  decrement(state){
    state.counter--
  },
  incrementN(state,payload){
    state.counter += payload.count
  },
  addstu(state,stu){
    state.students.push(stu)
  },
  changeinfo(state){
    state.anime.name='naurto'
    state.anime['eps']=720
    delete state.anime.from
  }
}
